/*
Copyright (c) 2017 Uber Technologies, Inc.
SPDX-License-Identifier: Apache-2.0
*/

.SearchForm--labelCount {
  color: var(--text-muted);
}

.SearchForm--hintTrigger {
  border: 1px solid var(--text-muted);
  border-radius: 100px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 1px;
}

.SearchForm--hintTrigger:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.SearchForm--tagsHintTitle {
  margin-top: 0.5em;
}

.SearchForm--submit {
  background-color: var(--interactive-primary);
  color: var(--text-inverse);
  float: right;
}

.SearchForm--submit:hover {
  background-color: var(--surface-primary);
  float: right;
}

.SearchForm--submit:active {
  background-color: var(--surface-primary);
  float: right;
}

.SearchForm--tagsHintInfo {
  padding-left: 1.7em;
}

.SearchForm--tagsHintEg {
  color: var(--text-link);
}

/* Reduce the default Ant Design Form.Item margin to make the form more compact */
.SearchTracePage--find .ant-form-item {
  margin-bottom: 12px;
}

.ant-select-dropdown .rc-virtual-list-holder {
  overflow-y: auto !important;
}

/* ensure scrollbar is always visible, not just on hover */
.ant-select-dropdown::-webkit-scrollbar,
.ant-select-dropdown .rc-virtual-list::-webkit-scrollbar,
.ant-select-dropdown .rc-virtual-list-holder::-webkit-scrollbar {
  width: 8px;
  background-color: var(--surface-secondary);
}

.ant-select-dropdown::-webkit-scrollbar-thumb,
.ant-select-dropdown .rc-virtual-list::-webkit-scrollbar-thumb,
.ant-select-dropdown .rc-virtual-list-holder::-webkit-scrollbar-thumb {
  background-color: var(--text-secondary);
  border-radius: 4px;
}
